<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/tab.css"/>
		<style type="text/css">
			*{margin:0;padding:0;}
		</style>
	</head>
	<body>
		<div class="tab-container">
			<ul class="tab-nav">
				<li>新闻</li>
				<li>财经</li>
				<li>娱乐</li>
				<li>游戏</li>
			</ul>
			<div class="tab-content">
				<div class="tab-item"><img src="http://www.jq22.com/demo/jquery-sfq201702171444/images/14.jpg
"/></div>
				<div class="tab-item"><img src="http://www.jq22.com/demo/jquery-sfq201702171444/images/9.jpg"/></div>
				<div class="tab-item"><img src="http://www.jq22.com/demo/jquery-sfq201702171444/images/10.jpg"/></div>
				<div class="tab-item"><img src="http://www.jq22.com/demo/jquery-sfq201702171444/images/11.jpg"/></div>
			</div>
		</div>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="js/tab.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			new TabSwitch(".tab-container",{
				type:"mouseover",
				effect:"fade",
			});
		</script>
	</body>
</html>
